libcpupower: Hide private function
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Dec 2018 19:22:50 +0000 (19:22 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 30 Sep 2021 19:36:41 +0000 (20:36 +0100)
commit324f8f6e879a7cb1945e25a715f8a8d5620e0348
treeebe7e1c48a3eadb27bfdf69e7d95d892910e7079
parentf7fce616b975704a7a8c886e852383afb9e6f2d6
libcpupower: Hide private function

cpupower_read_sysfs() (previously known as sysfs_read_file()) is an
internal function in libcpupower and should not be exported when
libcpupower is a shared library.  Change its visibility to "hidden".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libcpupower-hide-private-function.patch
tools/power/cpupower/lib/cpupower.c